/*
*
 * Created with IntelliJ IDEA.
 * Description:
 * User: HP
 * Date: 2022-04-27
 * Time: 15:28
public class PrimeYear {
     static boolean  Ifprime(int a){
        if(a%4!=0||(a%100==0&&a%400!=0)){
            return false;
        }else {
            return true;
        }
    }
    public static void main(String[] args) {
        for (int i = 1000; i <= 2000 ; i++) {
            if(PrimeYear.Ifprime(i)==true){
                System.out.println(i+"是闰年");
            }
        }
    }
}
*/
